// 导入模块
// 导入的模块是只读的，不可以修改
// import { firstName, age, sum } from './moduleA.js';
// import { f, a, sum } from './moduleA.js';

// 导入时指定任意的名字
import $ from "./moduleB.js"
console.log($())

/*
import * as moduleA from "./moduleA.js"
console.log(moduleA.sum(12, 3))
console.log(moduleA.f)
console.log(moduleA.a)
*/
/*
import {
	f as first,
	a as AAA,
	sum ,
} from './moduleA.js';

import "./moduleB.js"

// console.log(lastName)
// console.log(firstName)
// console.log(age)
// console.log(f)
// console.log(a)
console.log(first)
console.log(AAA)
// first = "李四"
console.log(sum(23, 12))
*/



